package com.jml.jdk8.函数方法;

import java.util.ArrayList;

public class Testoo1 {
    public static void main(String[] args) {
        ArrayList<Object> list = new ArrayList<>();
        list.forEach(consumer -> System.out.println(consumer));
    }
}
